package com.huashi.dealer.modular.business.discount.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huashi.dealer.commonEntity.DiscountActive;
import com.huashi.dealer.modular.business.discount.param.DiscountActiveListParam;
import com.huashi.dealer.modular.business.discount.param.DiscountActiveSaveParam;
import com.huashi.dealer.modular.business.discount.vo.DiscountActiveDetailsVo;

public interface StoreDiscountActiveService {

    /**
     * 获取活动分页列表
     */
    Page<DiscountActive> getDiscountActiveList(DiscountActiveListParam param, Page<DiscountActive> page);

    /**
     * 新增或编辑活动
     */
    void saveOrUpdateDiscountActive(DiscountActiveSaveParam param);

    /**
     * 删除活动
     */
    void deleteDiscountActive(Long discountId);

    /**
     * 更新活动状态
     */
    void updateDiscountActiveStatus(Long discountId, Integer state);

    /**
     * 获取活动详情
     */
    DiscountActiveDetailsVo getDiscountActiveDetails(Long discountId);
}


